package xxl.robotlegs.extensions.commandcenter.api 
{
	
	/**
	 * ...
	 * @author XXL
	 */
	public interface ICommandMapping 
	{
		function get commandClass():Class;
		function get executeMethod():String;
		function get guards():Array;
		function get hooks():Array;
		function get fireOnce():Boolean;
		function get payloadInjectionEnabled():Boolean;
		function setExecuteMethod(name:String):ICommandMapping;
		function addGuards(...guards):ICommandMapping;
		function addHooks(...hooks):ICommandMapping;
		function setFireOnce(value:Boolean):ICommandMapping;
		function setPayloadInjectionEnabled(value:Boolean):ICommandMapping;
	}
	
}